<template>
  <div class="dashboard-container">
    <el-row style="margin-left: -12px; margin-right: -12px;">
      <el-col :span="14"><el-card class="box-card">
        <div slot="header" class="clearfix">
          <span>卡片名称</span>
          <el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>
        </div>
        <div v-for="o in 4" :key="o" class="text item">
          {{ '列表内容 ' + o }}
        </div>
      </el-card></el-col>
      <el-col :span="10"><div class="grid-content bg-purple">盒子</div></el-col>
    </el-row>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Worktable',
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 24px;
    margin-top: 0;
    overflow-x: hidden;
    height: calc(100vh - 100px);
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
  .el-row {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    .el-card{
    border: 1px solid #ebeef5;
    background-color: #fff;
    color: #303133;
    -webkit-transition: .3s;
    transition: .3s;}
    &:last-child {
      margin-bottom: 0;
    }
  }
  .el-col {
    border-radius: 4px;
      .box-card {
    width: 480px;
  }
  }
}
</style>
